<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>xilpuf: xilpuf_example.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">xilpuf
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;"
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xilpuf__example_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">xilpuf_example.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file illustrates encryption of red key using PUF KEY and programming the black key and helper data in a user specified location To build this application, xilmailbox library must be included in BSP and xilsecure,xilnvm must be in client mode and xilpuf in server mode. </p>
<p>This file illustrates encryption of red key using PUF KEY and programming the black key and helper data.</p>
<p>This example is supported for Versal and Versal Net devices.</p>
<pre>
 MODIFICATION HISTORY:</pre><pre> Ver   Who   Date     Changes
</p>
<hr/>
<p>
 1.0   har  01/30/20 Initial release
 1.1   har  01/31/20 Updated file version to 1.1 to sync with library version
       har  03/08/20 Added function to print array
                     Corrected endianness of PUF helper data
 1.2   har  07/03/20 Corrected the length of PUF ID passed in XPuf_ShowData
       am   08/14/20 Replacing function prototype and local status variable
                     from u32 and s32 to int.
       har  09/30/20 Replaced XPuf_printf with xil_printf
       har  04/14/21 Modified code to use client side APIs of Xilsecure
       har  04/21/21 Fixed CPP warnings
       har  05/20/21 Added support to program Black IV
       kpt  08/27/21 Replaced xilnvm server API's with client API's
 1.3   kpt  12/02/21 Replaced standard library utility functions with
                     xilinx maintained functions
       har  01/20/22 Removed inclusion of xil_mem.h
       har  03/04/22 Added comment to specify mode of libraries
                     Added shared memory allocation for client APIs
       kpt  03/18/22 Removed IPI related code and added mailbox support
 2.1   am   04/13/23 Fix PUF auxiliary convergence error
 2.2   am   05/03/23 Added KAT before crypto usage
         vek  05/31/23  Added support for Programming PUF secure control bits
          vss   11/22/23 Added header file required for SDT flow</pre><pre><dl class="section note"><dt>Note</dt><dd></dd></dl>
<p>This example is supported for spartan ultrascale plus devices.</pre><pre> <pre>
 MODIFICATION HISTORY:</pre></pre><pre><pre> Ver   Who   Date     Changes
</p>
<hr/>
<p>
 1.0   kpt  08/23/24 Initial release
       mb  11/11/24 Add section attribute to required variables</pre></pre><pre><pre><dl class="section note"><dt>Note</dt><dd></dd></dl>
</pre></pre></div></div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
